Codebooks for Race, Representation, and Responsiveness 

Policy Responsiveness Data (policy_outcomes_withissueareas_AM25.csv) Codebook
	- Identifiers
		* X: Row index from import.
		* state: State abbreviation of respondent (e.g., CA, TX).
		* cd: Congressional district number (e.g., 7 for CA-07).
		* fips: County FIPS code 
		* district: Concatenated district identifier (cd_state).
		* year: Survey year (CCES).
		* year.y: Year legislation received last roll call vote.
		* merge_year: Year used in merging across datasets.
		* state.y: Duplicated state from merge (ignore)
		* zip: Respondent ZIP code (when available).
		* data_num: CES question order that year
	- Respondent CES Data
		* female: Indicator for respondent gender (1 = female, 0 = male, NA = missing).
		* race: Respondent race (1 = White, 2 = Black, 3 = Latino, 4 = Asian, 5-9 = Other categories).
		* edu: Education level (1 = less than HS, 2 = HS, 3-4 = some college, 5 = BA, 6 = postgraduate).
		* religion: Respondent's religion with RELTRAD coding
		* dob: Year of birth (from CES).
		* age: Respondent age (calculated from survey year and dob).
		* ideo: Respondent ideology (1 = very liberal to 5 = very conservative; >5 recoded to NA).
		* income: Household income quartile (1 = lowest to 4 = highest).
		* pid7: 7-point party ID scale (1 = strong Democrat to 7 = strong Republican; >7 recoded to NA).
		* reg_voter: Registered voter indicator (1 = registered, 0 = not registered; >1 recoded to NA).
		* donate_any: Indicator for whether respondent donated to any campaign (1 = registered, 0 = not registered; >1 recoded to NA).
		* donate_amount: Total campaign donation amount.
		* voter_ver: Voter file verification indicator (1 = registered, 0 = not registered; >1 recoded to NA).
		* vv_matched: Indicator for whether respondent matched in voter validation file (1 = registered, 0 = not 			registered; >1 recoded to NA).
		* pres_vote: Respondent's presidential vote choice.
		* house_vote: Respondent's U.S. House vote choice.
		* weight: Survey-provided weight for CCES responses.
		* outcome: Respondent's preferred policy outcome (1 if support, 0 if oppose).
	- Derived Respondent Dummies
		* white_r / black_r / latino_r / asian_r / other_r: Dummy indicators for respondent's race group.
		* first_quartile_r / second_quartile_r / third_quartile_r / fourth_quartile_r: Dummy indicators for income quartile.
		* highschool_r / somecollege_r / bachelors_r / postgrad_r: Dummy indicators for education level.
	- Legislation/Policy Data
		* year_vote: CES year and CES question identifier combined represents unique CES question.
		* vote.x: CES roll call question order identifier.
		* vote.y: House roll call match identifier.
		* vote.g: Senate roll call match identifier.
		* vote_before_cces: Indicator if roll call vote occurred before CES survey field dates.
		* vote_after_cces.x: Indicator if roll call vote occurred after CES survey field dates.
		* vote_dateh: House roll call vote year
		* vote_dates: Senate roll call vote year
		* bill_number: Identifier for congressional bill.
		* bill_name: Short description/title of bill.
		* bill_topic / CQ.Item: Policy topic coding from CQ Almanac.
		* vote_question: Text of the roll call vote question.
		* became_law: Indicator if bill became law.
		* passed_house: Indicator if bill passed the House.
		* passed_senate: Indicator if bill passed the Senate.
		* considered_house / considered_senate : Indicators if bill was considered in chamber(s).
		* pref_outcome: Indicator if respondent preference matched final bill outcome (law).
		* house_outcome: Indicator if respondent preference matched House outcome.
		* senate_outcome: Indicator if respondent preference matched Senate outcome.
		* cces_name.x: Variable label from CCES merge (bill-question linkage).
		* cces_variable.name.: Name of CCES policy question variable.
		* cces_exact_wording: Exact wording of CCES survey item.
		* variable_name_house / variable_name_senate: Voteview variable names for House/Senate roll calls.
		* voteview_id_house / voteview_id_senate: Unique Voteview identifiers for roll calls.
		* house_vote_date / senate_vote_date: Exact dates of chamber votes.
	- Policy Coding
		* pap_majortopic / pap_subtopic: Policy Agendas Project coding of issue area and subtopic.
		* majortopic / subtopic: Additional coding scheme (parallel to PAP).
		* Bill_topic: Assigned bill topic category.
		* Notes: Supplemental notes from coding/merges



Dyadic House Outcomes Dataset (house_vote_level_data_census.csv)
	- Identifiers and Structure
		* vote: Indicator for whether the MC voted in favor of the policy (1 = yes, 0 = no).
		* MC: Member of Congress name.
		* state: State abbreviation of respondent (e.g., CA, TX).
		* cd: Congressional district number.
		* fips: County FIPS code.
		* district_id: Unique district identifier (state-district code).
		* congress: Congressional session number (e.g., 114, 115).
		* chamber: Chamber of Congress (House or Senate; though this dataset is House-focused).
		* year: Year of vote
		* data_year: CES year
		* data_num: roll call vote question order in CES
		* year_vote: CES year and CES question ID combined for fixed effects
	- Respondent Characteristics (from CCES)
		* outcome: Constituent preference == MC roll call vote (TRUE = matches, FALSE = does not match)
		* respondent_view: Respondent preference on policy (1 = support, 0 = oppose)
		* female: Respondent gender (1 = female, 0 = male).
		* race: Respondent race (1 = White, 2 = Black, 3 = Latino, 4 = Asian, 5+ = Other).
		* edu: Education (1 = less than HS - 6 = postgraduate).
		* dob: Year of birth.
		* age: Calculated age (year - dob).
		* ideo: Ideology (1 = very liberal - 5 = very conservative; >5 recoded NA).
		* income: Household income quartile (1-4).
		* pid7: 7-point party ID scale (1 = strong Democrat … 7 = strong Republican).
		* reg_voter: Registered voter indicator.
		* donate_any: Indicator for whether respondent donated to a campaign.
		* donate_amount: Total amount donated.
		* voter_ver: Voter file verification indicator.
		* vv_matched: Indicator for whether respondent matched in voter validation file.
		* house_vote: Respondent's House vote choice.
		* pres_vote: Respondent's presidential vote choice.
		* religion: Religion affiliation (RELTRAD coding).
		* church_attendance: Frequency of church attendance.
		* prayer: Frequency of prayer.
		* importance: Importance of religion in respondent's life.
		* voter_status: Respondent's voter registration/turnout status verified.
		* zip: Respondent ZIP code.
		* weight: Survey-provided weight.
	- Derived Race Dummies
		* white_r / black_r / latino_r / asian_r / otherrace_r / native_r / middleeastern_r / otherrace2_r: Dummy 			indicators for racial/ethnic categories.
	- Respondent-Vote Linkage
		* dat_vote_ID: Roll call vote ID for MC roll call vote data (Voteview).
		* resp_vote_ID: Roll call vote ID from CES.
		* variable_name_house: Voteview variable name for House roll call.
		* vote_before_cces: Indicator if roll call occurred before CES field dates.
		* vote_after_cces: Indicator if roll call occurred after CES field dates.
	- District Demographics (American Community Survey / Census from NHGIS)
		* GISJOIN / GEOID: Geographic identifiers for linking to Census data.
		* V1 / NAME_E / YEAR: NHGIS Identifiers
		* d_pop: Total population.
		* d_vap: Voting-age population.
		* d_p_under35: Percent under 35.
		* d_p_35to49: Percent age 35–49.
		* d_p_50to64: Percent age 50–64.
		* d_p_over65: Percent age 65+.
		* d_p_black: Percent Black.
		* d_p_white: Percent White.
		* d_p_api: Percent Asian/Pacific Islander.
		* d_p_latino: Percent Latino.
		* d_p_college: Percent college educated.
		* d_p_hs: Percent high school educated.
		* d_medinc: Median income.
		* d_num: District number (numeric).
		* log_d_vap: Logged voting-age population.
	- Member of Congress Data (VoteView.com)
		* party_code: Party code of MC (100 = Dem, 200 = GOP).
		* occupancy: ICPSR occupancy code. This item is considered legacy or incomplete information and has not been verified. In general, members receive 0 if they are the only occupant, 1 if they are the first occupant, 2 if they are the second occupant, etc..
		* last_means: This is an indicator that reflects the member's last means of attaining office. This item is considered legacy or incomplete information and has not been verified. Members received 1 if they were elected in a general election, 2 if elected by special election, 3 if directly elected by a state legislature, and 5 if appointed.
		* bioname: Member of Congress full name.
		* bioguide_id: Unique bioguide identifier.
		* born / died: MC's birth and death years.
		* nominate_dim1 / nominate_dim2: DW-NOMINATE first and second dimensions.
		* nominate_log_likelihood: Model fit statistic.
		* nominate_geo_mean_probability: Geometric mean probability of estimates.
		* nominate_number_of_votes: Number of roll call votes used in estimation.
		* nominate_number_of_errors: Number of classification errors.
		* conditional: A 1 indicates NOMINATE was estimated conditionally for a given member. 0 otherwise. Conditional estimation implies that an estimate is provisional and subject to updates when the next full estimation of NOMINATE scores occurs.
		* nokken_poole_dim1 / nokken_poole_dim2: Alternative ideological dimensions (Nokken-Poole).
		* dem.voteshare.lastup: Democratic vote share in last election.
		* dem.voteshare.nextup: Democratic vote share in next election.
		* control: Party control indicator for Congress/year.
		* dem_leg: Dummy indicator for whether legislator is Democratic.
		* southern_st: Indicator for whether district is in the South.
	- Merge/Diagnostics
		* mergestate / mergeyear: Merge keys.

Codebook - Dyadic Senate Outcomes Dataset (senate_vote_level_data_census.csv)
	- Same as above but districts have prefix "s_" instead of "d_"